package com.ruitu.router_module.bean.app;

import com.ruitu.router_module.bean.product.Product;
import com.ruitu.router_module.bean.mine.Coupon;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018.07.27.
 * 店铺首页数据
 */
public class ShopHomeData implements Serializable {
    private Shop shop;
    private List<ShopBanner> banners;//店铺Banner
    private List<Coupon> coupons;//店铺优惠券
    private ShopBg shopColorBack;//主要用到背景色
    private List<ShopHomeProduct> classifiesGoods;//首页的分类列表(分类包含图片和一个小的商品列表)

    public static class ShopBanner implements Serializable {
        private String id;//: "8064250604438438776",
        private String url;//: "/images/shopBanner/4080855730586992796_1532496629056.png",
        private String intro;//: "banner",
        private String type;//: "1",
        private String info;//: "4083390708868755491",
        private String createTime;//: 1532496639000,

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
    }

    public static class ShopBg implements Serializable {
        private String id;//: "2569536069230149673",
        private String shopId;//: "4083390708868755491",
        private String color;//: "#FF33FF",
        private String type;//: "2",
        private String shopName;//: null

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getShopId() {
            return shopId;
        }

        public void setShopId(String shopId) {
            this.shopId = shopId;
        }

        public String getColor() {
            return color;
        }

        public void setColor(String color) {
            this.color = color;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getShopName() {
            return shopName;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }
    }

    public static class ShopHomeProduct implements Serializable {
        private String id;//: "3105200877927971976",
        private String shopId;//: "7120987977099526855",
        private String name;//: "热销爆款",
        private String intro;//: "2",
        private String url;//: "/images/classify/1988220037049306375_1532656495448.jpg",
        private String shopName;//: null,
        private List<Product> goods;//商品列表

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getShopId() {
            return shopId;
        }

        public void setShopId(String shopId) {
            this.shopId = shopId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getShopName() {
            return shopName;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }

        public List<Product> getGoods() {
            return goods;
        }

        public void setGoods(List<Product> goods) {
            this.goods = goods;
        }
    }

    public Shop getShop() {
        return shop;
    }

    public void setShop(Shop shop) {
        this.shop = shop;
    }

    public List<ShopBanner> getBanners() {
        return banners;
    }

    public void setBanners(List<ShopBanner> banners) {
        this.banners = banners;
    }

    public List<Coupon> getCoupons() {
        return coupons;
    }

    public void setCoupons(List<Coupon> coupons) {
        this.coupons = coupons;
    }

    public ShopBg getShopColorBack() {
        return shopColorBack;
    }

    public void setShopColorBack(ShopBg shopColorBack) {
        this.shopColorBack = shopColorBack;
    }

    public List<ShopHomeProduct> getClassifiesGoods() {
        return classifiesGoods;
    }

    public void setClassifiesGoods(List<ShopHomeProduct> classifiesGoods) {
        this.classifiesGoods = classifiesGoods;
    }
}
